package com.example.ssm1.mapper;

import com.example.ssm1.model.User;

import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {

    List<User> getUserList();


    User getUserByName(@Param("username") String username);

    User getUserDetail(@Param("id") Integer id);
}
